PRO_NAME = SOFTHSM

#################
# COMPILER      #  
#################
# C/C++
CPPC = g++
LINK = g++
CP   = gcc
# Java
JAVA_H = javah
JAVA_C = javac

#################
# FLAGS         #  
#################
# C/C++
CFLAGS = -Wall
CPPFLAGS = -Wall
# Java
JAVAFLAGS = 

################
# INCLUDES      #
################
# C/C++
INCLUDES_C   = -I/usr/local/include
INCLUDES_CPP = -I/usr/local/include
# Java
INCLUDES_JAVA   = -classpath .

################
# LIBS         #
################
# Path
PATH_LIBS_C = -L/usr/local/lib
PATH_LIBS_CPP = -L/usr/local/lib
PATH_LIBS_JAVA = 

# Options for LIBS
OPTS_LIBS_C =
OPTS_LIBS_CPP =
OPTS_LIBS_JAVA =
# File C/C++
LIBS_C  = 
LIBS_CPP = 
# Java
LIBS_JAVA = 

################
# DEBUGS       #
################
# C/C++
DEBUG_FLAGS_C   = -g 
DEBUG_FLAGS_CPP = -ggdb
# Java
DEBUG_FLAGS_JAVA = -g

################
# FLAGS        #
################
# C
CFLAGS =
CFLAGS    += $(INCLUDES_C) $(LIBS_C) $(DEBUG_FLAGS_C)
# C++
CPPFLAGS  +=  $(INCLUDES_CPP) $(LIBS_CPP) $(DEBUG_FLAGS_CPP)
# Java
JAVAFLAGS +=


.PHONY clean 

$(PRO_NAME)_exe: main.cpp  make$(PRO_NAME)
	(CPPC) -o $(PRO_NAME) main.cpp 
make$(PRO_NAME): 
	cd ../lib;
	make 

clean:
	rm -rf *.o






